package com.neuedu.cockpit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.neuedu.common.annotation.Excel;
import com.neuedu.common.core.domain.BaseEntity;

/**
 * 车辆操控日志对象 hm_control_log
 * 
 * @author neuedu
 * @date 2024-04-30
 */
public class HmControlLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    private String userName;

    private Long carId;

    private String carName;
    /** 操作类型 */
    @Excel(name = "操作类型")
    private String operaType;

    /** 操作内容 */
    @Excel(name = "操作内容")
    private String operaContent;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setOperaType(String operaType) 
    {
        this.operaType = operaType;
    }

    public String getOperaType() 
    {
        return operaType;
    }
    public void setOperaContent(String operaContent) 
    {
        this.operaContent = operaContent;
    }

    public String getOperaContent() 
    {
        return operaContent;
    }

    public Long getCarId() {
        return carId;
    }

    public void setCarId(Long carId) {
        this.carId = carId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCarName() {
        return carName;
    }

    public void setCarName(String carName) {
        this.carName = carName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("operaType", getOperaType())
            .append("operaContent", getOperaContent())
            .toString();
    }
}
